package com.net.innerclass;

class OuterClass1
{
	private int x = 50;
	public void InnerClassMtd ()
	{
		int rel = 100;
		
		class InnerClass 
		{
			private int ans;
			public void getValue()
			{
				System.out.println(" outer class value  " +x);
			}
		}
		new InnerClass().getValue();
		
		
	}
	
	
}


public class InsideTheMethod {

	public static void main(String[] args) 
	{
		OuterClass1 obj = new OuterClass1();
		obj.InnerClassMtd();

	}

}
